public class Bird extends Animal implements IFlyable,IRunable{
    public Bird(String name, int age) {
        super(name, age);
    }

    @Override
    public void Run() {
        System.out.println(name+"正在跑");
    }

    @Override
    public void Fly() {
        System.out.println(name+"正在飞");
    }

    @Override
    public void eat() {
        System.out.println(name+"在吃虫子");
    }

}
